package cn.itcast.dao;


import cn.itcast.domain.PriceArea;
import cn.itcast.domain.PriceRange;
import cn.itcast.domain.PriceTrend;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AreaDao {

  List<PriceArea> findByCity(String city);

  List<PriceTrend> findByPriceArea(String area);

  List<PriceRange> findByPriceRange(@Param("minprice") int minprice, @Param("maxprice") int maxprice);
}
